ScMobileApp.Router.map(function(){
	this.resource("login");
	this.resource("list", function(){
		this.route('detail', { path: 'list/:post_id' });
	});
	this.route('missing', { path: '/*path' });
});

ScMobileApp.MissingRoute = Em.Route.extend({
    redirect: function(){
        this.transitionTo('login');
    }
});

ScMobileApp.Router.reopen({
	location: 'hash'
});


